<g:if test="${reportList.size() > 0}">
    <meta charset="utf-8">
    <style type="text/css">
    th {
        width: 9em;
    }

    tr, td {
        border: 1px #ADBFCD solid;
    }

    .odd {
        background-color: #EBEBEB;
    }
    </style>
    <table class="table table-bordered table-hover table-striped table-top" data-nowrap="true"
           data-selected-multi="true" data-toggle="tablefixed" data-width="100%">
        <thead>
        <tr>
            <th width="80" rowspan="2">机型</th>
            <th width="80" rowspan="2">机台号</th>
            <th width="120" rowspan="2">品名</th>
            <th width="120" rowspan="2">Lot.No</th>
            <th width="80" rowspan="2">重量</th>
            <th width="100" rowspan="2">理论片数</th>
            <th width="100" rowspan="2">掉片数</th>
            <th width="100" rowspan="2">实际片数</th>
            <th width="100" rowspan="2">插片良品数（受入数）</th>
            <th width="100" rowspan="2">插片不良数</th>
            <th width="100" rowspan="2">检测待检品</th>
            <th width="100" rowspan="2">无污迹良品数</th>
            <th width="100" rowspan="2">轻微污迹良品</th>
            <th width="100" rowspan="2">外观不良品数</th>
            <th width="${(unYieldCnt + 1) * 100}" colspan="${unYieldCnt + 1}">外 观 检 查 不 良 项 目</th>
            <th width="100" rowspan="2">一次良品率</th>
            <th width="300" colspan="3">返工</th>
            <th width="100" rowspan="2">轻微污迹总良品数</th>
            <th width="100" rowspan="2">无污迹总良品数</th>
            <th width="100" rowspan="2">返工收率</th>
            <th width="100" rowspan="2">二次良品率</th>
            <th width="100" rowspan="2">作业者</th>
            <th width="100" colspan="2">备注</th>
            <th width="100" rowspan="2">粘结人员</th>
            <th width="100" rowspan="2">上料人员</th>
            <th width="100" rowspan="2">槽距</th>
            <th width="100" rowspan="2">分选机台号</th>
            <th width="100" rowspan="2">晶棒长度</th>
            <th width="100" rowspan="2">清洗机台号</th>
            <th width="100" rowspan="2">新片盒枚数</th>
            <th width="100" rowspan="2">BOX Lot#</th>
        </tr>
        <tr>
            <g:each in="${unYieldDescList}" status="i" var="headInstance">
                <th width="100">${headInstance.UN_YIELD_DESC}</th>
            </g:each>
            <th width="100">可作B级数</th>
            <th width="100">LOT返工数</th>
            <th width="100">LOT返工良品数</th>
            <th width="100">收集返工良品</th>
            <th width="100">刀次号</th>
            <th width="100">其它备注</th>
        </tr>
        </thead>
        <tbody>
        <g:each in="${reportList}" status="i" var="dataInstance">
            <tr data-id="data">
                <td>${dataInstance.EQP_TYPE}</td>
                <td>${dataInstance.EQP_ID}</td>
                <td>${dataInstance.PART_NAME}</td>
                <td>${dataInstance.LOT_ID}</td>
                <td>${dataInstance.WEIGHT}</td>
                <td>${dataInstance.THEORY_QTY}</td>
                <td>${dataInstance.DROP_QTY}</td>
                <td>${dataInstance.ACTUAL_QTY}</td>
                <td>${dataInstance.CP_YIELD_QTY}</td>
                <td>${dataInstance.CP_UNYIELD_QTY}</td>
                <td>${dataInstance.WAIT_CHECK}</td>
                <td>${dataInstance.WWJLPS}</td>
                <td>${dataInstance.QWWJLP}</td>
                <td>${dataInstance.WG_UNYIELD_QTY}</td>
                <g:each in="${unYieldDescList}" status="j" var="headInstance">
                    <td>${dataInstance[headInstance.UN_YIELD_DESC]}</td>
                </g:each>
                <td>${dataInstance.KZBJS}</td>
                <td>${dataInstance.ONCE_YIELD}</td>
                <td>${dataInstance.LOT_REWORK_QTY}</td>
                <td>${dataInstance.LOT_REWORK_YIELD_QTY}</td>
                <td>${dataInstance.COLLECT_REWORK_YIELD}</td>
                <td>${dataInstance.QWWJZLPS}</td>
                <td>${dataInstance.WWJZLPS}</td>
                <td>${dataInstance.REWORK_YIELD}</td>
                <td>${dataInstance.TWICE_YIELD}</td>
                <td>${dataInstance.OPERATORS}</td>
                <td>${dataInstance.DCH}</td>
                <td>${dataInstance.HIS_COMMENT}</td>
                <td>${dataInstance.BONDING_OPER}</td>
                <td>${dataInstance.SLICING_OPER}</td>
                <td>${dataInstance.CJ}</td>
                <td>${dataInstance.FXJTH}</td>
                <td>${dataInstance.CB_LEN}</td>
                <td>${dataInstance.CLEAN_EQP}</td>
                <td>${dataInstance.NEW_BOX_QTY}</td>
                <td>${dataInstance.CASE_ID}</td>
            </tr>
        </g:each>
        </tbody>
    </table>
</g:if>